package com.aspose.cells;

class zcab extends zcdb {
   zcab(zazv var1) {
      zazr var2 = var1.b;
      this.d = 411;
      int var3 = 64 + var2.f.length() * 2 + var2.i.length() * 2 + var2.g.length * 2;
      if (var2.h != null) {
         var3 += var2.h.length * 2;
      }

      this.c = new byte[var3];
      zbaa var4 = new zbaa(var1);
      int var5 = var4.a(this.c);
      System.arraycopy(var2.b, 0, this.c, var5, 16);
      var5 += 16;
      this.a(var2.a, var5);
      var5 += 8;
      System.arraycopy(com.aspose.cells.b.a.zc.a(var2.e), 0, this.c, var5, 2);
      var5 += 2;
      System.arraycopy(com.aspose.cells.b.a.zc.a(var2.d), 0, this.c, var5, 4);
      var5 += 4;
      System.arraycopy(com.aspose.cells.b.a.zc.a(var2.c), 0, this.c, var5, 4);
      var5 += 4;
      var5 = this.a(var2.f, var5);
      var5 = this.a(var2.i, var5);
      int var6 = var2.g.length;
      System.arraycopy(com.aspose.cells.b.a.zc.a(var6), 0, this.c, var5, 4);
      var5 += 4;

      int var7;
      for(var7 = 0; var7 < var6; ++var7) {
         System.arraycopy(com.aspose.cells.b.a.zc.a(var2.g[var7]), 0, this.c, var5, 2);
         var5 += 2;
      }

      if (var2.h == null) {
         var5 += 4;
      } else {
         var6 = var2.h.length;
         System.arraycopy(com.aspose.cells.b.a.zc.a(var6), 0, this.c, var5, 4);
         var5 += 4;

         for(var7 = 0; var7 < var6; ++var7) {
            System.arraycopy(com.aspose.cells.b.a.zc.a(var2.h[var7]), 0, this.c, var5, 4);
            var5 += 4;
         }
      }

   }
}
